package cn.lishiyuan.algorithm.graph;

import java.util.List;

/**
 * 路径搜索
 * @param <V>
 */
public interface GraphPath<V> {
    List<V> path(V from, V to);
    int distance(V from, V to);
}
